package Creational.Prototype.prototypeManager.student;

public class PubInfo
{
    String college;
    String city;
    String zip;
    public PubInfo(String college,String city,String zip)
    {
        this.college=college;
        this.city=city;
        this.zip=zip;
    }
    public String getCollege()
    {
        return college;
    }
    public void setCollege(String college)
    {
        this.college = college;
    }
    public String getCity()
    {
        return city;
    }
    public String getZip()
    {
        return zip;
    }
    public void setZip(String zip)
    {
        this.zip = zip;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException
    {
        return super.clone();
    }
}
